﻿using System.Collections.Generic;
using System.Web.Mvc;
using ChoViet.Model;
namespace ChoViet.CMS.ViewModels
{
    public class CategoryIndexViewModel
    {
		public List<string> ParentCatIDs {get;set;}
        public IList<SelectListItem> CategoryBuiltTree { get; set; }
        
    }
    public class CategoryEditViewModel
    {
        public int Type;
        public Category Category {get;set;}
        public List<Category> ParrentCatrgories { get; set; }
    }
    public class CategoryIndexLeftViewModel
    {
        public Demand Demand { set; get; }

        public List<Category> RootCategories { set; get; }
        public Category ActiveCategory { set; get; }

        public IList<City> Cities { set; get; }
        public City ActiveCity { set; get; }
        public AdAttribute AdAttribute { get; set; }
        public AdAttributeValue AdAttributeValue { get; set; }
        public int CusTypeId { get; set; }
    }
}
